package cn.wolfcode.car.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter@Setter
public class BusCustomer {
    public static final Integer DELETE_OFF = 0;//显示
    public static final Integer DELETE_ON = 1;//不显示
    /** */
    private Long id;

    /** 客户名称*/
    private String name;

    /** 联系方式*/
    private String phone;

    /** 生日*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /** 是否VIP(数据字典)*/
    private Integer vip;

    /** 备注信息*/
    private String remark;
    private Integer isDelete = DELETE_OFF;          //软删除
}